Connection endpoints
Connect
Connect(System.String,System.String,System.String@,System.String)
Connects to BlackShield or BSIDCA. Mandatory first call for using this web service. Used to authenticate an operator with permissions to use the control API. Successfully connecting will establish a management session, which will allow you to use the rest of the API. Multiple calls may be required in the case of outer window authentications, challenges or PIN changes.
Parameters
Param: OperatorEmail: Operator/Account manager e-mail to connect with.
Param: OTP: OTP or Password to connect with.
Param: challenge: Challenge message passed out if the return code requires one.
Param: validationCode: Optional e-mail validation code if the operator in use has not had their e-mail address validated.
Returns
AUTH_FAILURE | Authentication Failed |
AUTH_SUCCESS | Authentication Success |
CHALLENGE | A challenge has been returned in the challenge argument. Call this function again with the response in the OTP argument. |
SERVER_PIN_PROVIDED | The server has initiated a PIN change. Your new PIN is in the challenge argument. Authenticate again using this new PIN. |
USER_PIN_CHANGE | You are required call this function again providing a new PIN. |
OUTER_WINDOW_AUTH | Your token is out of sync. You must call this function again with the next OTP. |
CHANGE_STATIC_PASSWORD | You must call this function again and provide a new static password |
STATIC_CHANGE_FAILED | Password change failed |
PIN_CHANGE_FAILED | PIN change failed |
SOAP 1.1 sample
The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.
Request:
Response:
SOAP 1.2 sample
The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.
Request:
Response:
PingConnection
PingConnection()
A service ping that checks the server to see if you have a valid session.
Returns
True if you have a valid connection.
SOAP 1.1 sample
The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.
Request:
SOAP 1.2 sample
The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.
Request:
Response:
HTTP GET
The following is a sample HTTP GET request and response. The placeholders shown need to be replaced with actual values.
Request:
Response:
HTTP POST
The following is a sample HTTP POST request and response. The placeholders shown need to be replaced with actual values.
Request:
Response: